﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateWebMvc" Bound="false" xmlns="http://schemas.microsoft.com/pag/gax-core">
  <xi:include href="Include/TypeAlias.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  <Caption>(Re)Creates Clean MVC (without entity)</Caption>
  <HostData>
    <!--<Icon ID="500" />-->
    <Icon File="img/ProjIcon.ico" />
    <CommandBar Name="Project" />
    <CommandBar Name="Folder" />
    <CommandBar Name="Item" />
    <CommandBar Name="Project Add" />
  </HostData>

  <!-- Arguments -->
  <xi:include href="Include/09/Arguments.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

  <GatheringServiceData>
    <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
      <Pages>
        <Page>
          <Title>(Re)Creates MVC without entity. Model, Controller and View. This is very useful for other stuff than managing entity e.g. Report, Document, Home etc. </Title>
          <Fields>
            <Field ValueName="EntityName" Label="Class Name" />
            <Field ValueName="Namespace" Label="Namespace" />
            <!--<Field ValueName="EntityBase" Label="!Advanced: Another Name to be used as a base class"  />-->
          </Fields>
        </Page>
        <!--<Page>
            <Title>(Do not change these settings)</Title>
            <Fields>
              <Field ValueName="Property1" Label="Property (Code) - if provided, GetDomainObjectSignature() returns its value " ReadOnly="true" />
              <Field ValueName="Property2" Label="Property (Name) - if provided, ToDisplay() return its value " ReadOnly="true" />
              <Field ValueName="Property3" Label="Property  ... " ReadOnly="true" />

              <Field ValueName="IsOnlyMVC" Label="Model, Controller and View without Entity (e.g. Home, Reports)" ReadOnly="true" />
            </Fields>
          </Page>-->
      </Pages>
    </Wizard>
  </GatheringServiceData>
  <Actions CoordinatorServiceType="ActionCoordinator">

    <xi:include href="Include/04/04GenerateIModel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/04/04AddIModel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/04/04GenerateModel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/04/04AddModel.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

    <xi:include href="Include/05/05GenerateIController.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/05/05AddIController.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/05/05GenerateController.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/05/05AddController.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

    <xi:include href="Include/08/08GenerateService.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/08/08AddService.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />

    <xi:include href="Include/09/09GenIndex.aspx.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
    <xi:include href="Include/09/09AddIndex.aspx.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
  </Actions>
</Recipe>